﻿#ifndef NEWPRJDIALOG_H
#define NEWPRJDIALOG_H

#include "components/FWidgets/Base/FDialog.h"

namespace Ui {
class NewPrjDialog;
}

class NewPrjDialog : public FDialog
{
    Q_OBJECT

public:
    enum Behavior {
        Create, SaveAs
    };
    explicit NewPrjDialog(QWidget *parent = nullptr, Behavior behavior=Create);
    ~NewPrjDialog();

private slots:
    void on_btnBrowse_clicked();

    void on_btnConfirm_clicked();

    void on_btnCancel_clicked();

private:
    Ui::NewPrjDialog *ui;
    Behavior m_behavior;
};

#endif // NEWPRJDIALOG_H
